package com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.bean.wd_user;
import com.service.Uservice;

@Controller
public class UserAction {
	@Autowired
	 private Uservice uservice;
	@RequestMapping(value="test.do")
	public String selectByid(){
		wd_user wd_user = uservice.selectByPrimaryKey("123");
		System.out.println(wd_user.getName());
		return "index";
	} 
}
